const book = {
    name: "JS 入门指南",
    page: 123,
    size: "A5",
    }

    const person = {
        name: ["Bob", "Smith"],
        age: 32,
        hello: function(){
        console.log(`你好！我是 Bob`);
        }
        }
        person.age
person.hello()
        person.age = 45;
console.log(person.age)
person.eyes = "hazel";
console.log(person.eyes)
const myDataName = "height";
const myDataValue = "1.75m";
person[myDataName] = myDataValue;
console.log(person.height) //1.75m
console.log(person[myDataName]) //1.75m
const person = {
    name: ["Bob", "Smith"],
    age: 32,
    hello: function(){
   
    console.log(`你好！我是 ${ this.name[0] }`);
    
    }
    }
    person.hello() 
    console.log(this) 
    const person = {
        name: ["Bob", "Smith"],
        age: 32,
        hello(){
        console.log(`你好！我是 ${ this.name[0] }`);
        }
        }
        person.hello()